<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<base href="<%=basePath%>">
<div class="passport clearfix">
        	<span><script language="javascript" type="text/javascript" src="etc/core/js/common/time.js"></script>&nbsp;&nbsp;欢迎来到太原金属交易平台！</span>
            <ul class="fr clearfix list_tb">
                <li class="fl mr10 pl30 btton_sethome"><a  href="javascript:void(0)" onClick="SetHome(this,window.location)" >设为首页</a></li>
                <li class="fl pl30 btton_addfav"><a href="javascript:void(0)" onClick="addHistory()">加入收藏</a></li>
           </ul>
        </div>
        <!--topbar结束-->
        <!--头部开始-->
        <div class="header"  id="main">
        	<div class="logo"><img src="etc/core/img/ycf_18.png" /></div>
            <div class="h_search">
                <form action="/news!search.action" name="search_news_title_form" method="get">
	            	<input type="text" name="title" id="search_news_title" onKeyDown="if (event.keyCode==13) {}" onBlur="if(this.value=='')value='请输入搜索内容';" onFocus="if(this.value=='请输入搜索内容')value='';" value="请输入搜索内容" />
	                <a href="javascript:void(0)" onClick="searchNewsTitle();">搜索</a>
	               
                </form>
  <script>
     function searchNewsTitle(){
     var search_news_title=document.getElementById("search_news_title");
     if(search_news_title.value==""||search_news_title.value=="请输入搜索内容"){
        alert("请输入搜索内容");
        search_news_title.focus();
        return 0;
     }
     search_news_title_form.submit();
     }
    </script>
            </div>
        </div>
        <!--头部结束-->
        <!--导航开始-->
        <div class="nav">
         	<dl id="suckertree1" class="clearfix">
       		  <dt class="current"><a href="<%=basePath%>jsp/index.jsp">首页</a></dt>
       		<dd class="divide"> <a href="<%=basePath%>processMenu.html?id=11">关于我们</a>
					   <ul class="xl_ul">
						   <li class="h"><a href="<%=basePath%>processMenu.html?id=1">公告</a>
						       </li>
						   <li class="h"><a href="<%=basePath%>processMenu.html?id=2">联系我们</a>
						       </li>
						   </ul>
					    </dd>
             <dd class="divide"> <a href="<%=basePath%>processMenu.html?id=4">业务介绍</a> </dd>
			 <dd class="divide"> <a href="<%=basePath%>processMenu.html?id=3">行业新闻</a></dd>
             <dd class="divide"> <a href="<%=basePath%>processMenu.html?id=3">交易指南</a>
					   <ul class="xl_ul">
						   <li class="h"><a href="<%=basePath%>processMenu.html?id=6">合格投资人标准</a>
						       </li>
						   <li class="h"><a href="<%=basePath%>processMenu.html?id=7">投资人风险揭示书</a>
						       </li>
						   <li class="h"><a href="<%=basePath%>processMenu.html?id=8">投资人入市交易协议</a>
						       </li>
						   <li class="h"><a href="<%=basePath%>processMenu.html?id=9">投资人须知</a>
						       </li>
						   <li class="h"><a href="<%=basePath%>processMenu.html?id=10">交易须知</a>
						       </li>
						   </ul>
					    </dd>
					    <dd class="divide"> <a href="<%=basePath%>processMenu.html?id=12">下载中心</a></dd>
<%--              <dd class="divide"> <a href="<%=basePath%>processMenu.action?code=3">下载中心</a>
					   <ul class="xl_ul">
						   <li class="h"><a href="<%=basePath%>processMenu.action?code=17">资料下载</a>
						       </li>
						   <li class="h"><a href="<%=basePath%>processMenu.action?code=20">客户端下载</a>
						       </li>
						   <li class="h"><a href="<%=basePath%>processMenu.action?code=362">手机客户端下载</a>
						       </li>
						   <li class="h"><a href="<%=basePath%>processMenu.action?code=369">iTunse下载</a>
						       </li>
						   <li class="h"><a href="<%=basePath%>processMenu.action?code=370">教程下载</a>
						       </li>
						   </ul>
					    </dd> --%>
             </dl>
   		</div>
        <!--导航结束-->
   <script type="text/javascript" language="javascript">  
   function SetHome(obj,vrl){ 
        try{ 
                obj.style.behavior='url(#default#homepage)';obj.setHomePage(vrl); 
        } 
        catch(e){ 
                if(window.netscape) { 
                        try { 
                                netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); 
                        } 
                        catch (e) { 
                                alert("此操作被浏览器拒绝！\n请在浏览器地址栏输入“about:config”并回车\n然后将 [signed.applets.codebase_principal_support]的值设置为'true',双击即可。"); 
                        } 
                        var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); 
                        prefs.setCharPref('browser.startup.homepage',vrl); 
                 } 
        } 
} 
   
           function addHistory()
	{
		
		try
     {
         window.external.addFavorite(window.location, '交易平台');
     }
     catch (e)
     {
         try
         {
             window.sidebar.addPanel('交易平台', window.location, "");
         }
         catch (e)
         {
             alert("加入收藏失败，有劳您手动收藏我们: "+window.location);
         }
     }
	}
        </script>